package com.getword.mongodao;

import com.getword.domain.Course;
import com.getword.domain.Outline;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface OutlineRepository extends MongoRepository<Outline, Long> {
    List<Outline> findOutlineByNameAndCourse(String name, Course course);
    List<Outline> findOutlineByCourse(Course course);
    Outline findOutlineById(Long id);
}
